package com.dj.uphome.web.mapper.system;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.dj.common.web.vo.PageAndSortVo;
import com.dj.uphome.web.vo.system.SysUserVo;

@Mapper
public interface SysUserMapper {
	SysUserVo getUserInfo(@Param("userName") String userName,@Param("password") String password);
	SysUserVo getUserByUserName(@Param("userName") String userName);

	SysUserVo findById(int id);
	List<SysUserVo> findAll(PageAndSortVo<SysUserVo> pasv);
	
	void save(SysUserVo vo);

	void update(SysUserVo vo);

	void deleteById(int id);
	
	
}


